package io.chenglicun.modules.bus.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.chenglicun.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 业务_村民留言版/乡情圈
*
* @author LYB jssqsylyb@163.com
* @since 1.0 2023-09-05
*/
@Data
@ApiModel(value = "业务_村民留言版/乡情圈")
public class BusMomentDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "图片")
    private String photo;
    @ApiModelProperty(value = "提交人")
    private Long creator;
    @ApiModelProperty(value = "创建者名称")
    private String creatorName;
    @ApiModelProperty(value = "提交时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;
    @ApiModelProperty(value = "回复内容")
    private String replyContent;
    @ApiModelProperty(value = "回复人")
    private Long replyUser;
    @ApiModelProperty(value = "回复时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date replyTime;
    @ApiModelProperty(value = "点赞次数")
    private Long likeCount;
    @ApiModelProperty(value = "是否公开（0：不公开1：公开）")
    private Integer isOpen;
    @ApiModelProperty(value = "类型 lyb：村民留言板 xqq：乡情圈")
    private String type;

    @ApiModelProperty(value = "用户头像")
    private String headUrl;


    @ApiModelProperty(value = "是否点赞 0 否 1 是")
    private Integer isLike;
}